<?php

/**
 * @author shuang
 * @date 2016-11-3 11:30:30
 */
use yii\helpers\Url;
?>
<div class="invite-number">
    <ul class="mui-table-view mui-grid-view">
        <li class="mui-table-view-cell mui-media mui-col-xs-6 mui-col-sm-6">
            <div class="mui-text-center">
                <h5 class="mui-badge-danger mui-badge-inverted"><?php echo Yii::$app->formatter->asDecimal($model->wallet->can_drawal_amount); ?></h5>
                <p>总收益</p>
            </div>
        </li>
        <li class="mui-table-view-cell mui-media mui-col-xs-6 mui-col-sm-6">
            <div class="mui-text-center">
                <h5 class="mui-badge-danger mui-badge-inverted"><?php echo Yii::$app->formatter->asDecimal($model->wallet->amount); ?></h5>
                <p>账户余额</p>
            </div>
        </li>
    </ul> 
</div>
<ul class="mui-table-view my-mui-table-view-no">
    <li class="mui-table-view-cell"><a href="<?php echo Url::toRoute(["task/mynowork"]);?>">
            我的任务
            <span class="mui-badge mui-badge-inverted">查看我的任务></span>
        </a>
    </li>
</ul>
<div class="index-nav-btn">
    <ul class="mui-table-view mui-grid-view">
        <li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3">
            <a href="<?php echo Url::toRoute(["account/tixian"]); ?>">
                <div class="btn-circle circle-purple">
                    <span class="mui-icon mui-icon-extra mui-icon-extra-prech"></span>
                </div>
                <div class="mui-media-body fa-2x">提现</div>
            </a>
        </li>
        <li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3">
            <a href="<?php echo Url::toRoute("profile/xianxia"); ?>">
                <div class="btn-circle circle-pink">
                    <span class="mui-icon mui-icon-extra mui-icon-extra-gold"></span>
                </div>
                <div class="mui-media-body">下线奖励</div>
            </a>
        </li>
        <li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3">
            <a href="<?php echo Url::toRoute(["article/help"]); ?>">
                <div class="btn-circle circle-blue">
                    <span class="mui-icon mui-icon-chatboxes"></span>
                </div>
                <div class="mui-media-body">使用帮助</div>
            </a>
        </li>
        <li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3">
            <a href="<?php echo Url::toRoute(["article/contact"]); ?>">
                <div class="btn-circle circle-green">
                    <span class="mui-icon mui-icon-chat"></span>
                </div>
                <div class="mui-media-body">联系客服</div>
            </a>
        </li>
        <li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3">
            <a href="<?php echo Url::toRoute(["task/work"]); ?>">
                <div class="btn-circle mui-btn-yellow">
                    <span class="mui-icon mui-icon-paperplane"></span>
                </div>
                <div class="mui-media-body">待工作</div>
            </a>
        </li>
        <li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3">
            <a href="<?php echo Url::toRoute(["task/tousu"]); ?>">
                <div class="btn-circle mui-btn-danger">
                    <span class="mui-icon mui-icon-extra mui-icon-extra-order"></span>
                </div>
                <div class="mui-media-body">被投诉</div>
            </a>
        </li>
<!--        <li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3">
            <a href="<?php echo Url::toRoute(["article/contact"]); ?>">
                <div class="btn-circle mui-badge-primary">
                    <span class="mui-icon mui-icon-checkmarkempty"></span>
                </div>
                <div class="mui-media-body">已通过</div>
            </a>
        </li>
        <li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3">
            <a href="<?php echo Url::toRoute(["article/contact"]); ?>">
                <div class="btn-circle mui-badge-royal">
                    <span class="mui-icon mui-icon-info"></span>
                </div>
                <div class="mui-media-body">未通过</div>
            </a>
        </li>-->
    </ul> 
</div>
<ul class="mui-table-view my-mui-table-view-no">
    <li class="mui-table-view-cell">
        <span class="circle mui-btn-danger">
            <span class="mui-icon mui-icon-contact" style="padding:5px;"></span>
        </span>
        昵称
        <span class="mui-badge mui-badge-inverted"><?php echo $model->username; ?></span>
    </li>
    <li class="mui-table-view-cell">
        <span class="circle mui-btn-yellow">
            <span class="mui-icon-extra mui-icon-extra-heart" style="padding:5px;"></span>
        </span>
        推荐码
        <span class="mui-badge mui-badge-inverted"><?php echo $model->my_code; ?></span>
    </li>
    <li class="mui-table-view-cell">
        <span class="circle mui-btn-blue">
            <span class="mui-icon-extra mui-icon-extra-alipay" style="padding:5px;"></span>
        </span>
        支付宝
        <span class="mui-badge mui-badge-inverted"><?php echo $model->userprofile->alipay; ?></span>
    </li>
</ul>
<div class="mui-row mui-col-xs-11 profile-btn">
    <a href="<?php echo Url::toRoute(["profile/updatepwd"]); ?>"><button type="button" class="mui-col-xs-12 mui-btn mui-btn-blue" data-loading-icon="">修改密码</button></a>
    <a href="<?php echo Url::toRoute(["site/logout"]); ?>"><button type="button" class="mui-col-xs-12 mui-btn mui-btn-danger" data-loading-icon="">退出登陆</button></a>
</div>